import edu.cqie.dao.StudentController;
import edu.cqie.dao.StudentDao;
import edu.cqie.dao.StudentService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * mytest
 *
 * @description:
 * @Author XiaoZhou
 * @Date 2023/10/19 16:21
 */
public class mytest {
    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        StudentController studentController = context.getBean(StudentController.class);
        studentController.addStudentr();
    }
}
